package com.qixin.modules.eaStandard.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: ea_relation_setting
 * @Author: qixin-boot
 * @Date:   2021-11-19
 * @Version: V1.0
 */
@Data
@TableName("ea_relation_setting")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ea_relation_setting对象", description="ea_relation_setting")
public class EaRelationSetting implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**发票类型value/消费类型value：10010/1*/
	@Excel(name = "发票类型value/消费类型value：10010/1", width = 15)
    @ApiModelProperty(value = "发票类型value/消费类型value：10010/1")
    private String value;
	/**发票类型/消费类型：增值税发票/交通*/
	@Excel(name = "发票类型/消费类型：增值税发票/交通", width = 15)
    @ApiModelProperty(value = "发票类型/消费类型：增值税发票/交通")
    private String name;
	/**关联设置类型：消费类型1，单据类型2*/
	@Excel(name = "关联设置类型：消费类型1，单据类型2", width = 15)
    @ApiModelProperty(value = "关联设置类型：消费类型1，单据类型2")
    private String relatedType;
	/**业务类型：消费类型(1,2,3,4,5,6)，单据类型(1,2,3,4,5,6)*/
	@Excel(name = "业务类型：消费类型(1,2,3,4,5,6)，单据类型(1,2,3,4,5,6)", width = 15)
    @ApiModelProperty(value = "业务类型：消费类型(1,2,3,4,5,6)，单据类型(1,2,3,4,5,6)")
    private String serviceType;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private String sortOrder;
}
